home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / L-M / MacOberon 4.0 / MacOberon™ 4.0 Folder / OberonErrors.Text (.txt) < prev    next >
Encoding:
Oberon Text  |  1993-10-25  |  7.4 KB  |  211 lines  |  [.Ob./.Ob5]

  1. Syntax10b.Scn.Fnt
  2. Syntax10.Scn.Fnt
  3. Syntax10m.Scn.Fnt
  4. List of Oberon Errors, Warnings, and Run_Time Trap Numbers
  5. Niklaus Wirth, R
  6. gis Crelier, Michael Franz / 1.10.93
  7. 1.  Incorrect Use of Language Oberon
  8.   0    undeclared identifier
  9.   1    multiply defined identifier
  10.   2    illegal character in number
  11.   3    illegal character in string
  12.   4    identifier does not match procedure name
  13.   5    comment not closed
  14.   9    "=" expected
  15. 12    type definition starts with incorrect symbol
  16. 13    factor starts with incorrect symbol
  17. 14    statement starts with incorrect symbol
  18. 15    declaration followed by incorrect symbol
  19. 16    MODULE expected
  20. 18    "." missing
  21. 19    "," missing
  22. 20    ":" missing
  23. 22    ")" missing
  24. 23    "]" missing
  25. 24    "}" missing
  26. 25    OF missing
  27. 26    THEN missing
  28. 27    DO missing
  29. 28    TO missing
  30. 30    "(" missing
  31. 34    ":=" missing
  32. 35    "," or OF expected
  33. 38    identifier expected
  34. 39    ";" missing
  35. 41    END missing
  36. 44    UNTIL missing
  37. 46    EXIT not within loop statement
  38. 47    illegally marked identifier
  39. 50    expression should be constant
  40. 51    constant not an integer
  41. 52    identifier does not denote a type
  42. 53    identifier does not denote a record type
  43. 54    result type of procedure is not a basic type
  44. 55    procedure call of a function
  45. 56    assignment to non-variable
  46. 57    pointer not bound to record or array type
  47. 58    recursive type definition
  48. 59    illegal open array parameter
  49. 60    wrong type of case label
  50. 61    inadmissible type of case label
  51. 62    case label defined more than once
  52. 63    illegal value of constant
  53. 64    more actual than formal parameters
  54. 65    fewer actual than formal parameters
  55. 66    element types of actual array and formal open array differ
  56. 67    actual parameter corresponding to open array is not an array
  57. 68    control variable must be integer
  58. 69    parameter must be an integer constant
  59. 70    pointer or VAR record required as formal receiver
  60. 71    pointer expected as actual receiver
  61. 72    procedure must be bound to a record of the same scope
  62. 73    procedure must have level 0
  63. 74    procedure unknown in base type
  64. 75    invalid call of base procedure
  65. 76    this variable (field) is read only
  66. 77    object is not a record
  67. 78    dereferenced object is not a variable
  68. 79    indexed object is not a variable
  69. 80    index expression is not an integer
  70. 81    index out of specified bounds
  71. 82    indexed variable is not an array
  72. 83    undefined record field
  73. 84    dereferenced variable is not a pointer
  74. 85    guard or test type is not an extension of variable type
  75. 86    guard or testtype is not a pointer
  76. 87    guarded or tested variable is neither a pointer nor a VAR-parameter record
  77. 88    open array not allowed as variable, record field or array element
  78. 92    operand of IN not an integer, or not a set
  79. 93    set element type is not an integer
  80. 94    operand of & is not of type BOOLEAN
  81. 95    operand of OR is not of type BOOLEAN
  82. 96    operand not applicable to (unary) +
  83. 97    operand not applicable to (unary) -
  84. 98    operand of ~ is not of type BOOLEAN
  85. 99    ASSERT fault
  86. 100    incompatible operands of dyadic operator
  87. 101    operand type inapplicable to *
  88. 102    operand type inapplicable to /
  89. 103    operand type inapplicable to DIV
  90. 104    operand type inapplicable to MOD
  91. 105    operand type inapplicable to +
  92. 106    operand type inapplicable to -
  93. 107    operand type inapplicable to = or #
  94. 108    operand type inapplicable to relation
  95. 109    overriding method must be exported
  96. 110    operand is not a type
  97. 111    operand inapplicable to (this) function
  98. 112    operand is not a variable
  99. 113    incompatible assignment
  100. 114    string too long to be assigned
  101. 115    parameter doesn't match
  102. 116    number of parameters doesn't match
  103. 117    result type doesn't match
  104. 118    export mark doesn't match with forward declaration
  105. 119    redefinition textually precedes procedure bound to base type
  106. 120    type of expression following IF, WHILE, UNTIL or ASSERT is not BOOLEAN
  107. 121    called object is not a procedure (or is an interrupt procedure)
  108. 122    actual VAR-parameter is not a variable
  109. 123    type of actual parameter is not identical with that of formal VAR-parameter
  110. 124    type of result expression differs from that of procedure
  111. 125    type of case expression is neither INTEGER nor CHAR
  112. 126    this expression cannot be a type or a procedure
  113. 127    illegal use of object
  114. 128    unsatisfied forward reference
  115. 129    unsatisfied forward procedure
  116. 130    WITH clause does not specify a variable
  117. 131    LEN not applied to array
  118. 132    dimension in LEN too large or negative
  119. 135    SYSTEM not imported
  120. 136    SYSTEM must not be imported by portable modules
  121. 150    key inconsistency of imported module
  122. 151    incorrect symbol file
  123. 152    symbol file of imported module not found
  124. 154    recursive import not allowed
  125. 155    generation of new symbol file not allowed
  126. 2.  Limitations of MacOberon Implementation
  127. 200    not yet implemented
  128. 201    lower bound of set range greater than higher bound
  129. 202    set element greater than MAX(SET) or less than 0
  130. 203    number too large
  131. 204    product too large
  132. 205    division by zero
  133. 206    sum too large
  134. 207    difference too large
  135. 208    overflow in arithmetic shift
  136. 209    case range too large
  137. 210    code too long
  138. 211    jump distance too large
  139. 213    too many cases in case statement
  140. 215    not enough registers: simplify expression
  141. 216    not enough floating-point registers: simplify expression
  142. 218    illegal value of parameter  (20 <= p < 256)
  143. 219    illegal value of parameter  (0 <= p < 16)
  144. 220    illegal value of parameter
  145. 221    too many pointers in a record
  146. 222    too many global pointers
  147. 223    too many record types
  148. 224    too many pointer types
  149. 226    too many exported procedures
  150. 227    too many imported modules
  151. 228    too many exported structures
  152. 229    too many nested records for import
  153. 230    too many constants (strings) in module
  154. 231    too many link table entries (external procedures)
  155. 233    record extension hierarchy too high
  156. 235    open array (or pointer to array) containing pointers
  157. 240    identifier too long
  158. 241    string too long
  159. 242    address overflow
  160. 250    too many different variables in module
  161. 251    too many parameters (32k max)
  162. 252    too many local variables (32k max)
  163. 400    SIZE function not portable (result is machine dependent)
  164. 401    Toolbox CHAR data type not supported, use INTEGER instead / Toolbox does not accept REAL or LONGREAL arguments
  165. 402    Dynamic Arrays may not be passed to this type of procedure
  166. 403    Type Tests cannot be performed on untraced pointer types
  167. 404    Oberon cannot allocate storage for untraced pointer types; use the memory manager function _NewPtr instead
  168. 3.  Warnings (reported by Compiler and by Analyzer)
  169. 301    implicit type cast
  170. 302    guarded variable can be side_effected
  171. 801    destination in assignment already has this value
  172. 900    never used
  173. 901    never set
  174. 902    used before set
  175. 903    set but never used
  176. 904    used as varpar, possibly not set
  177. 905    also declared in outer scope
  178. 906    access/assignment to intermediate
  179. 907    redefinition
  180. 1000+    spurious compiler misbehaviour, please notify "franz@inf.ethz.ch" (this should never happen)
  181. 4.  Run_Time Trap Numbers
  182.   0    Assert Trap
  183.   1    Reserved (Silent Trap)
  184.   2    NIL-reference
  185.   5    Division by zero
  186.   6    Invalid index
  187. 16    Invalid case in CASE statement
  188. 17    Function procedure without RETURN statement
  189. 18    Type guard check
  190. 19    Implied type guard check in record assignment
  191. 20    Macintosh Operating System error (check OSErr code)
  192. 21    Too many files open
  193. 22    Keyboard Break (Command_Period)
  194. 23    Out of heap space
  195. 24    Dynamic array value parameter too big (2k Max)
  196. 25    Null bytes to SYSTEM.MOVE
  197. 30 - 255    Programmed HALT
  198. 5.  Macintosh OS Error Codes
  199. -19    Read error
  200. -20    Write error
  201. -33    Directory full
  202. -34    Disk full
  203. -35    No such volume
  204. -36    Disk I/O error
  205. -41    Memory full or file won't fit
  206. -42    Too many files open
  207. -44    Disk is write protected
  208. -45    File is locked
  209. -46    Volume is locked
  210. -108    Out of Memory (no space to load module)
  211.